<?php
    include "../database.php";
    
    $proj_id=$_POST["proj_id"];
    $user_id = $_POST["usr_id"];
    //$user_id = 36;
    
    $query = "UPDATE user SET current_project = '$proj_id' WHERE id = '$user_id'";
    $res = executeQuery($query);

?>
